// 创建一个新的 store 实例
const menusStore = {
    state() {
        return {
            menuList : [],
            authorities: [],
        }
    },
    mutations: {
        setMenuList(state, menuList){
            state.menuList = menuList
        },
        setAuthorities(state, authorities){
            state.authorities = authorities
        }
    },
    getters: {},
}

// 将 store 实例作为插件安装
export default menusStore
